package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.student.pojos.CompetitionParticipant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompetitionParticipantMapper extends BaseMapper<CompetitionParticipant> {
    List<Long> getCompetitionIdByParticipantNames(@Param("stuId") String stuId
            ,@Param("competitionParticipantNames") List<String> competitionParticipantNames);

    List<String> getParticipantNameList(@Param("competitionId") Long competitionId, @Param("stuId") String stuId);
}
